package a66weding.com.jiehuntong.http;

import android.content.Context;
import android.util.Log;

import com.google.gson.reflect.TypeToken;

import org.xutils.x;

import java.lang.reflect.Type;
import java.util.HashMap;

import a66weding.com.jiehuntong.beans.HttpRequestBean;
import a66weding.com.jiehuntong.beans.RegisterUserBean;

/***********************************************************************
 * @version : 1.0
 * @creator : alwaysbusyboy
 * @description : HTTP请求工具类
 ***********************************************************************/
public class HttpHandleUtil {


    public static void executeCommonPost(Context context, HttpRequestBean httpBean){
        XutilHttp xhttp=new XutilHttp(context,httpBean);

        xhttp.execute();
    }

    /**
     * Xutils get请求
     * @param context
     * @param httpBean
     */
    public static void executeCommonGet(Context context, HttpRequestBean httpBean){
        XutilHttp xhttp=new XutilHttp(context,httpBean);
        xhttp.execute();
    }


}
